Unneded number combination after replacing a number in a string.
- by ne5tebiu
I get an unneeded number combination.
3, 4, 5, 6, 7, 8, 901234567890123456789, 30
Should be:
3, 4, 5, 6, 7, 8, 9, 10, 11, 12... (till) 30
Why that happens?
The code:
<?
ob_start();
$id=$_GET['id'];
if (!empty($id)){
$id=str_replace('a9_','', $id);
$value=$_COOKIE['NaudingasURL'];
$exp = explode(", ", $value);
…